// 商品相关的地址池 

// server.get('/goods/lists',GoodsList);
const {GoodsList} = require('../controller/goods');
const express = require('express');

const router = express.Router(); 
// 创建了一个管理地址的对象 
router.get('/lists',GoodsList);
router.get('/info',(req,res)=>{
    res.send({
        code:1,
        message:'商品的详情'
    });
});

// exports.router = router;

module.exports = router;